Hey Guys, I know there are a couple of topics that cover this but they are pretty old so here it is again.

I'm a flash Designer all my sites run off of XML files that contain all info, content.

What I would like to achieve is exporting / providing nice clean + organized xml format for flash to import.

Meaning:
- enter data into fields, select images.
- drupal publishes it as xml
- flash reads the file.

I'm sorry for what I'm sure is a really simple question but if someone can help me out with it I would really appreciate it.

Cheers

Comments

mm167’s picture

dont understand what u really want....

drupal is good to work together with flash, no matter just embed, or in C/S mode.

if u make youself clear, we may make a demo for u.

onu’s picture

sorry, I'll try it again.

I want to use Drupal as back-end means of managing the content. I would like to be able to add remove lets say portfolio peaces + descriptions from within the drupal installed on the server. Now the flash component can be totally separate from drupal. I would like to tell flash where to look for a xml document created/provided by drupal with all the content formated in a way that I would specify. Please let me know if that helps, as for some reason I'm having a really hard time explaining this.

vm’s picture

I believe you have to find a way to plug into xmlrpc.php file in drupal root, I can't find any specific documentation for Drupal 6.x thus if you really want this, I'd use Drupal 5.x or look for those working on ports to 6.x

Some of the documenation the handbooks may be worth a look and an issue files for the modules that are necessary if a port hasn't already been started.

mm167’s picture

portfolio = investment / stock portfolio ..?

drupal doesn have "service" module in the core. U can turn druapl as your back-end server.
if u want AMF, add the module "AMFPHP"

the "XML content" module may also be helpful.

everything is ready for u.

cog.rusty’s picture

On Adobe's side, there an article here: http://www.adobe.com/devnet/flex/articles/drupal.html
Not sure if this is what you referred to as old.

On Drupal's side, there is a discussion group at http://groups.drupal.org/adobe-technologies (see also the tabs on that page) where you might get feedback from people who are into this.

onu’s picture

sorry double post

onu’s picture

thanks for the comments guys, the portfolio would be of paintings. Maybe I should simplify this a bit. What if I say that all I'm looking for is a XML output of my articles and image locations. What modules would I use if any, how would I do it. Thanks for any comments.

Cheers

seutje’s picture

http://www.apotheekaartselaar.be

that site runs pretty much entirely on a drupal 5 backend using services and AMFPHP

usually ppl don't believe me when I say that, until they see http://www.apotheekaartselaar.be/admin ;)

it's really easy, u can load all menus, nodes, views, users, ... anything u want to pass to a flash app without leaving insecure XML files spread around

u can modify the default services to spit out whatever format u want, but by default it's all objects, which is awesome for flash

I love using flash for all sorts of maps and stuff in Drupal

another example: http://www.labs-commotie.be/tromark/distri_engraving is just a view being loaded in flash and mapped to the countries
http://www.labs-commotie.be/tromark/engravingdistributors is the view being loaded trough services

EDIT: I should mention though, forms are soooo annoying to import trough services and turn into a flash form :S

richardleggett’s picture

I've written an updated article on using Drupal 6 (or 5) with Adobe Flash or Flex.

http://www.adobe.com/devnet/flash/articles/drupal_flash.html

It also discusses using things like Views, CCK and FlexiFields to get the best experience. I hope it's useful!

xeppe’s picture

Hi,

It's a good tutorial indeed but what i don't get is why one should have to use AMFPHP and Services module?
If you're creating a simple, informative Flash site where there is no need for user accounts or things like that, isn't it much easier to create content types and just output them as XML (by using views or writing some custom functions in your own module) ? You could pass parameters from Flash to the url where the xml is outputted to get different results.
Security wouldn't be much of an issue since the xml output is something users can see in the Flash site anyway. Or am i missing something?